/**
 * Created by ying on 16-8-24.
 */
app.controller('homeCtrl', function($scope, $location) {
    var cart=new Cart();
    var count=cart.get_sum_count();
    $scope.sum_count=count ||0;
    $scope.go_product_list=function(){
        $location.path('/product_list');
    }
})
